package me.keiwu.admin.domain.config;

import lombok.Data;
import org.hibernate.annotations.ColumnDefault;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by kei on 27/11/2017.
 */
@Data
@Entity
public class Config {

    // 参考 ConfigType
    @Id
    @Column(columnDefinition = "TINYINT", nullable = false)
    private Integer configType;

    @Column(columnDefinition = "TEXT", nullable = false)
    private String configJson;

}
